package com.mask.mk.vo.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author: Joey
 * @Description: 生成订单记录
 * @date:2023/4/25 20:27
 */
@Data
public class AddOrderRequest {

    @ApiModelProperty(value = "订单")
    private Integer orderId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "地址id")
    private int addressId;


    @ApiModelProperty(value = "地址信息")
    private String addressInfo;

    @ApiModelProperty(value = "详细地址")
    private String addressDetailInfo;

    @ApiModelProperty(value = "默认地址")
    private Integer addressDefault;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户手机号")
    private String userPhone;



    @ApiModelProperty(value = "商品id")
    private List<Integer> goodsIdList;

    @ApiModelProperty(value = "商品单个数量")
    private List<Integer> goodsOwnNum;

    @ApiModelProperty(value = "商品总数")
    private int goodsNum;

    @ApiModelProperty(value = "商品总价")
    private int goodsTotalPrice;

    @ApiModelProperty(value = "支付方式")
    private String payWay;

    //0：生成未付款； 1：已付款； 2：待收货； 3：已完成； 4：退货状态 ;  5：订单取消
    @ApiModelProperty(value = "订单状态")
    private int orderStatus;

//    @ApiModelProperty(value = "商品照片")
//    private String goodsPic;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "完成时间")
    private LocalDateTime complishTime;

}
